<template>
  <div class="bg">
    <a-result status="404" title="404" sub-title="此页面无效">
      <template #extra>
        <a-button type="primary" @click="router.push('/')">返回首页</a-button>
      </template>
    </a-result>
  </div>
</template>

<script setup>
import { useRouter } from 'vue-router'
const router = useRouter()
</script>
<style lang="scss" scoped>
.bg {
  width: 100%;
  height: 100vh;
  background-color: #fff;
}
</style>
